Skip to content

HyperDX Dashboard Provisioner#190

Open
ZeynelKoca wants to merge 1 commit intoClickHouse:mainfrom
ZeynelKoca:inject-json-dashboards
Open

HyperDX Dashboard Provisioner#190
ZeynelKoca wants to merge 1 commit intoClickHouse:mainfrom
ZeynelKoca:inject-json-dashboards

Conversation

@ZeynelKoca
Copy link

@ZeynelKoca ZeynelKoca commented Mar 13, 2026

Summary

  • Add dashboard provisioning via k8s-sidecar that discovers ConfigMaps labeled hyperdx.io/dashboard: "true" across all namespaces
  • k8s-sidecar writes dashboard JSON to a shared volume, HyperDX upserts them natively
  • Dashboards matched by name for idempotency (update existing, create new, never delete)
  • Two ways to provide dashboards: inline in values or via labeled ConfigMaps from any namespace

Design decisions

  • k8s-sidecar + native HyperDX provisioner: Sidecar handles ConfigMap discovery (same pattern as Grafana). HyperDX handles MongoDB upsert natively
  • ClusterRole: Needed for cross-namespace ConfigMap discovery.

Dependencies

@changeset-bot
Copy link

changeset-bot bot commented Mar 13, 2026

🦋 Changeset detected

Latest commit: 64af4b1

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@CLAassistant
Copy link

CLAassistant commented Mar 13, 2026

CLA assistant check
All committers have signed the CLA.

@ZeynelKoca
Copy link
Author

Implements feature request #170

@ZeynelKoca ZeynelKoca force-pushed the inject-json-dashboards branch from 0243f23 to 752d6a5 Compare March 13, 2026 12:36
@heiba
Copy link

heiba commented Mar 22, 2026

@dhable Can we please look at this PR and see how we can progress it ?

k8s-sidecar watches ConfigMaps labeled "hyperdx.io/dashboard: true"
across all namespaces and writes dashboard JSON to a shared volume.
HyperDX reads and upserts them natively via file-based provisioner.

Requires hyperdxio/hyperdx#1962
@ZeynelKoca ZeynelKoca force-pushed the inject-json-dashboards branch from 7d182d9 to 64af4b1 Compare March 22, 2026 23:56
@ZeynelKoca
Copy link
Author

As per PR description, I redesigned the initial implementation to handle upsert behavior natively through hyperdx (same pattern as Grafana). This PR is dependent on hyperdxio/hyperdx#1962

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants